﻿using System;

using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Bornander.UI.ListItems;

namespace Bornander.UI
{
    public partial class CommentForm : Form
    {
        public CommentForm(string eatery)
        {
            InitializeComponent();
            TastecomboBox.Items.Add("超正(2分)");
            TastecomboBox.Items.Add("好味(1分)");
            TastecomboBox.Items.Add("一般(0分)");
            TastecomboBox.Items.Add("难吃(-1分)");
            TastecomboBox.Items.Add("想吐(-2分)");

            EnvicomboBox.Items.Add("高级(2分)");
            EnvicomboBox.Items.Add("不错(1分)");
            EnvicomboBox.Items.Add("SOSO(0分)");
            EnvicomboBox.Items.Add("垃圾(-1分)");
            EnvicomboBox.Items.Add("狗窝(-2分)");

            ServercomboBox.Items.Add("一流(2分)");
            ServercomboBox.Items.Add("周到(1分)");
            ServercomboBox.Items.Add("OK啦(0分)");
            ServercomboBox.Items.Add("恶劣(-1分)");
            ServercomboBox.Items.Add("欠扁(-2分)");

            PricecomboBox.Items.Add("好抵食(1分)");
            PricecomboBox.Items.Add("抵食(0分)");
            PricecomboBox.Items.Add("一般(-1分)");
            PricecomboBox.Items.Add("不抵食(-2分)");

            TastecomboBox.Text = "超正(2分)";
            EnvicomboBox.Text = "高级(2分)";
            ServercomboBox.Text = "一流(2分)";
            PricecomboBox.Text = "好抵食(1分)";

            radioButton1.Checked = true;//默认选择“还会再来”

            EaterytextBox.Text = eatery;
        }

        private void menuItem2_Click(object sender, EventArgs e)//返回
        {
            this.Dispose();
        }

        private void menuItem1_Click(object sender, EventArgs e)//评论
        {

        }
    }
}